<template>
  <view class="container" :style="{ zIndex }"></view>
</template>

<script>
export default {
  name: 'InfoPanel',
  props: {
    show: Boolean,
    zIndex: {
      type: Number,
      default: 9998
    },
    // type: String,
  },
  data() {
    return {}
  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>
.container {
  // width: 100%;
  // height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  // z-index: 9998;
  background-color: rgba(0, 0, 0, 0.4);
}
</style>
